package edu.sctu.zhoumengxue.day201505.day20150518.self;

/**
 * Created by user12 on 2015/5/18.
 */
public class Block {
    public void least(int a[]) {

        int temp = a[0];

        for(int i=0;i<a.length;i++) {
            if (temp < a[i]);
               temp = a[i];
            System.out.println("min:"+temp);
        }

        for (int i=0;i<a.length-1;i++){
            for(int j=0;j<a.length-i;j++){
                if(i<j);
                temp=a[i];
                System.out.println(temp);
            }

        }


    }
}
